package com.kingyun.gpsinspection.purificationservice.dao.mapper.jsm;


import com.kingyun.gpsinspection.purificationservice.facade.model.BootstrapSearchBean;
import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.TeamLog;

import java.util.List;

/**
 * 交接班信息
 */
public interface TeamLogMapper {
    /**
     * 查询班组交接班信息
     *
     * @param teamLogId
     * @return
     */
    TeamLog selectByPrimaryKey(String teamLogId);

    /**
     * 新增班组交接班信息
     *
     * @param record
     * @return
     */
    int insert(TeamLog record);

    /**
     * 新增班组交接班信息
     *
     * @param record
     * @return
     */
    int insertSelective(TeamLog record);

    /**
     * 分页查询班组交接班信息
     *
     * @param bootstrapSearchBean
     * @return
     */
    List<TeamLog> queryList(BootstrapSearchBean bootstrapSearchBean);

    /**
     * 分页查询班组交接班信息返回条数
     *
     * @param bootstrapSearchBean
     * @return
     */
    Integer queryCount(BootstrapSearchBean bootstrapSearchBean);

    /**
     * @param record
     * @return List<TeamLog>
     * @Author 卢曼成
     * @Description 根据条件查询集合
     * @CreateDateTime 2017/3/29 9:08
     **/
    List<TeamLog> selectByParamList(TeamLog record);
}